# $Id: PKGBUILD 86410 2013-03-16 13:23:29Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>

pkgname=ufw-extras
pkgver=0.2
pkgrel=1
pkgdesc='Extra configuration files for UFW'
arch=('any')
url='https://github.com/xyproto/ufw-extras'
license=('GPL2')
depends=('ufw')
source=("$pkgname.tgz::https://nodeload.github.com/xyproto/$pkgname/tar.gz/master")
sha256sums=('99ec020694eb53621e4e40c6b60ed7b0a7c93bfe787875b10d040278a15e17a1')
backup=('etc/ufw/applications.d/ufw-mosh')

package() {
  cd "$srcdir/$pkgname-master"

  msg 'Packaging configuration files...'
  for f in ufw-*; do
    msg2 "$f"
    install -Dm644 $f "$pkgdir/etc/ufw/applications.d/$f"
  done
}

# vim:set ts=2 sw=2 et:
